cordova.define("weixin-plugins", function(require, exports, module) { 


var exec = require('cordova/exec');
module.exports = {
    createPreId: function(args) {
        exec(function(winParam){
        	alert(winParam);
        	preId = winParam;
        }, null, "WeiXinPlugin", "createPreId", [args]);
    },
    payPreId: function(args) {
        exec(function(winParam){
        	//支付成功回调
        	payResultCall(winParam);
        }, null, "WeiXinPlugin", "payPreId", [args]);
    },
};

});
